package org.wwb.antbox.user.model.system.entity;

import org.ant.commons.models.bean.IEntity;
import org.ant.mybatis.annotation.LogicDelete;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author Bond
 * @Date: 2020/2/6 12:14
 * @Description: 系统表
 */
@Table(name = "t_sys_system")
public class SysSystem implements IEntity<String> {

    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    /** 系统编号, 数据库字段：system_code */
    private String systemCode;

    /** 系统名称, 数据库字段：system_name */
    private String systemName;

    /** 排序, 数据库字段：system_sort */
    private Integer systemSort;

    /** 备注, 数据库字段：remark */
    private String remark;

    /** 创建人, 数据库字段：create_user_id */
    private String createUserId;

    /** 创建时间, 数据库字段：create_time */
    private Date createTime;

    /** 更新人, 数据库字段：modify_user_id */
    private String modifyUserId;

    /** 更新时间, 数据库字段：modify_time */
    private Date modifyTime;

    /** 是否删除, 数据库字段：deleted */
    @LogicDelete
    private String deleted;

    /** 设置主键, 数据库字段：t_sys_system.id */
    @Override
    public void setId(String id) {
        this.id = id;
    }

    /** 获取主键, 数据库字段：t_sys_system.id */
    @Override
    public String getId() {
        return this.id;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public Integer getSystemSort() {
        return systemSort;
    }

    public void setSystemSort(Integer systemSort) {
        this.systemSort = systemSort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }
}
